import axios from 'axios';

let base = 'achievement';


/**
 *  业绩查询
 * Added by XWang 2018-06-20
 * */
export const achievementList = params => {
    return axios.post(`${base}/list`, params);
};



/**
 *  业绩导出
 * Added by XWang 2018-06-20
 * */
export const achievementExport = params => {
    return axios.post(`${base}/export`, params, {responseType: 'arraybuffer'});
};